const MovieService = require("../services/MovieService");

const MovieController = {
  getMovie: async (req, res) => {
    const { page, limit } = req.query;
    const data = await MovieService.getMovie(page, limit);
    res.send(data);
  },
};

module.exports = MovieController;
